Add createEvent and createSubject#707
Add createEvent and createSubject#707devagrawal09 wants to merge 1 commit intosolidjs-community:mainfrom
createEvent and createSubject#707Conversation
|
|
The name events easily lends itself to confusion with UI Events. What you implement here is a message bus, not an event system. |
|
This should be extending the event-bus package |
|
Why does this depend on rxjs? Shouldn’t it only implement the same interface to be usable with it? |
The rxjs dependency is temporary, I'll work on getting rid of that soon
Fair, this is mostly a separate primitive because it's a solidhack submission, if this makes more sense as an extension to event-bus I'm happy to contribute. |
Adds
solid-eventsas a primitive.